package com.code.translate.configs;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ggh
 * @date 2022/7/21
 */
@Data
@Component
@ConfigurationProperties(prefix = "translate")
public class TranslateConfig {

    /**
     * 最大重试次数
     */
    private Integer translateTimes;
}
